package com.baizhi.service;

import com.baizhi.Sale;
import com.baizhi.product;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ProductService {
    List<product> selectAll();
    boolean updateProduct(Sale p, int quantity);
    PageInfo<Sale> page(String where,int pageIndex,int pageSize);
    int kucun(int id);
}
